<?php

namespace App\Http\Controllers;

use Illuminate\Http\Request;
use DB;
use App\Http\Requests;
use App\Http\Controllers\Controller;

class PerLogController extends Controller
{
	public function getIndex(Request $request)
	{
			$pinfo = DB::table('log')->where('Hidden',1)->get();
			return view('Lzk.PerLog.Perlog',['pinfo'=>$pinfo]);
	}

	public function getLook($id)
	{
		$linfo = DB::table('log')->where('id',$id)->first();
		return view('Lzk.PerLog.Look',['linfo'=>$linfo]);
	}

}
